﻿using System;
namespace Chenxin.Lib.Hr.Entity
{
    /// <summary>
    /// 实体类Struct_UserDepartRelation 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Struct_UserDepartRelation
    {
        public Struct_UserDepartRelation()
        { }
        #region Model
        private Guid _recordid;
        private Guid _cityid;
        private string _city;
        private Guid _companyid;
        private string _company;
        private Guid _departid;
        private string _departname;
        private Guid _userid;
        private string _usercode;
        private string _username;
        private bool _isbelong;
        private bool _isrolea;
        private bool _isroleb;
        private bool _isrolec;
        private bool _isroled;
        private bool _isrolee;
        private bool _isrolef;
        private bool _isroleg;
        private bool _isroleh;
        private bool _viewpubhouse;
        private bool _viewprivhouse;
        private bool _viewhidehouse;
        //private bool _viewpubdemand;
        private bool _viewprivdemand;
        private bool _viewrealcustomer;
        private bool _viewfakecustomer;
        private bool _editprimaryhouse;
        private bool _editnormalhouse;
        private bool _deltrace;
        private bool _canprotect;
        private bool _canlockhouse;
        private bool _viewlockhouse;
        private bool _viewchange;
        private bool _canchangeconfirm;
        private bool _viewentrust;
        private bool _cancanceltrust;
        private bool _uncanceltrust;
        private bool _candeltrust;
        private bool _viewwatching;
        private bool _editwatching;
        private bool _editkey;
        private bool _usekey;
        private bool _editkeyusing;
        private bool _edittrust;
        private bool _cancellockhouse;
        //private bool _viewpubcustomer;
        private bool _viewprivcustomer;
        private bool _editpubdemand;
        private bool _editprivdemand;
        private bool _viewtellog;
        private bool _viewbusiness;
        private bool _viewhrinfo;
        private bool _viewhrchange;
        private bool _viewattendance;
        private bool _viewvacation;
        private bool _viewannualleave;
        private bool _viewuserlog;
        private bool _delhouse;
        private bool _editpubcustomer;
        private bool _editprivcustomer;
        private bool _viewstock;
        private bool _iscontrol;
        private DateTime? _addtime;
        private bool _shiftpubcustomer;
        private bool _setpublevel;
        private bool _viewcrosspubsharedemand;
        private bool _viewpubsharedemand;
        private bool _viewcrosspubsharecustomer;
        private bool _viewpubsharecustomer;
        private bool _viewtrace;
        private bool _canuploadpicture;
        private bool _candeletepicture;
        private bool _canpublishhouse;
        /// <summary>
        /// 
        /// </summary>
        public Guid RecordId
        {
            set { _recordid = value; }
            get { return _recordid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Company
        {
            set { _company = value; }
            get { return _company; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserCode
        {
            set { _usercode = value; }
            get { return _usercode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 是否隶属
        /// </summary>
        public bool IsBelong
        {
            set { _isbelong = value; }
            get { return _isbelong; }
        }
        /// <summary>
        /// 业务员
        /// </summary>
        public bool IsRoleA
        {
            set { _isrolea = value; }
            get { return _isrolea; }
        }
        /// <summary>
        /// 店长
        /// </summary>
        public bool IsRoleB
        {
            set { _isroleb = value; }
            get { return _isroleb; }
        }
        /// <summary>
        /// 高级经理
        /// </summary>
        public bool IsRoleC
        {
            set { _isrolec = value; }
            get { return _isrolec; }
        }
        /// <summary>
        /// 区域经理
        /// </summary>
        public bool IsRoleD
        {
            set { _isroled = value; }
            get { return _isroled; }
        }
        /// <summary>
        /// 商圈经理
        /// </summary>
        public bool IsRoleE
        {
            set { _isrolee = value; }
            get { return _isrolee; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsRoleF
        {
            set { _isrolef = value; }
            get { return _isrolef; }
        }
        /// <summary>
        /// 备用
        /// </summary>
        public bool IsRoleG
        {
            set { _isroleg = value; }
            get { return _isroleg; }
        }
        /// <summary>
        /// 备用
        /// </summary>
        public bool IsRoleH
        {
            set { _isroleh = value; }
            get { return _isroleh; }
        }
        /// <summary>
        /// 可查公盘
        /// </summary>
        public bool ViewPubHouse
        {
            set { _viewpubhouse = value; }
            get { return _viewpubhouse; }
        }
        /// <summary>
        ///  可查私盘
        /// </summary>
        public bool ViewPrivHouse
        {
            set { _viewprivhouse = value; }
            get { return _viewprivhouse; }
        }
        /// <summary>
        /// 可查隐藏房源
        /// </summary>
        public bool ViewHideHouse
        {
            set { _viewhidehouse = value; }
            get { return _viewhidehouse; }
        }
        /// <summary>
        /// 查看公客需求
        /// </summary>
        //public bool ViewPubDemand
        //{
        //    set { _viewpubdemand = value; }
        //    get { return _viewpubdemand; }
        //}
        /// <summary>
        /// 查看私客需求
        /// </summary>
        public bool ViewPrivDemand
        {
            set { _viewprivdemand = value; }
            get { return _viewprivdemand; }
        }
        /// <summary>
        /// 查看真业主信息
        /// </summary>
        public bool ViewRealCustomer
        {
            set { _viewrealcustomer = value; }
            get { return _viewrealcustomer; }
        }
        /// <summary>
        /// 查看假业主信息
        /// </summary>
        public bool ViewFakeCustomer
        {
            set { _viewfakecustomer = value; }
            get { return _viewfakecustomer; }
        }
        /// <summary>
        /// 修改房源关键字段
        /// </summary>
        public bool EditPrimaryHouse
        {
            set { _editprimaryhouse = value; }
            get { return _editprimaryhouse; }
        }
        /// <summary>
        /// 修改房源非关键字段
        /// </summary>
        public bool EditNormalHouse
        {
            set { _editnormalhouse = value; }
            get { return _editnormalhouse; }
        }
        /// <summary>
        /// 删除跟单
        /// </summary>
        public bool DelTrace
        {
            set { _deltrace = value; }
            get { return _deltrace; }
        }
        /// <summary>
        /// 是否能保护/取消保护房源
        /// </summary>
        public bool CanProtect
        {
            set { _canprotect = value; }
            get { return _canprotect; }
        }
        /// <summary>
        /// 能执行封盘操作
        /// </summary>
        public bool CanLockHouse
        {
            set { _canlockhouse = value; }
            get { return _canlockhouse; }
        }
        /// <summary>
        /// 查看封盘房源
        /// </summary>
        public bool ViewLockHouse
        {
            set { _viewlockhouse = value; }
            get { return _viewlockhouse; }
        }
        /// <summary>
        /// 查看变更神奇
        /// </summary>
        public bool ViewChange
        {
            set { _viewchange = value; }
            get { return _viewchange; }
        }
        /// <summary>
        /// 可处理变更申请
        /// </summary>
        public bool CanChangeConfirm
        {
            set { _canchangeconfirm = value; }
            get { return _canchangeconfirm; }
        }
        /// <summary>
        /// 查看委托
        /// </summary>
        public bool ViewEntrust
        {
            set { _viewentrust = value; }
            get { return _viewentrust; }
        }
        /// <summary>
        /// 可作废委托
        /// </summary>
        public bool CanCancelTrust
        {
            set { _cancanceltrust = value; }
            get { return _cancanceltrust; }
        }
        /// <summary>
        /// 可取消作废
        /// </summary>
        public bool UnCancelTrust
        {
            set { _uncanceltrust = value; }
            get { return _uncanceltrust; }
        }
        /// <summary>
        /// 可删除委托
        /// </summary>
        public bool CanDelTrust
        {
            set { _candeltrust = value; }
            get { return _candeltrust; }
        }
        /// <summary>
        /// 带看查询
        /// </summary>
        public bool ViewWatching
        {
            set { _viewwatching = value; }
            get { return _viewwatching; }
        }
        /// <summary>
        /// 带看修改
        /// </summary>
        public bool EditWatching
        {
            set { _editwatching = value; }
            get { return _editwatching; }
        }
        /// <summary>
        /// 钥匙修改
        /// </summary>
        public bool EditKey
        {
            set { _editkey = value; }
            get { return _editkey; }
        }
        /// <summary>
        /// 钥匙使用
        /// </summary>
        public bool UseKey
        {
            set { _usekey = value; }
            get { return _usekey; }
        }
        /// <summary>
        /// 钥匙使用修改
        /// </summary>
        public bool EditKeyUsing
        {
            set { _editkeyusing = value; }
            get { return _editkeyusing; }
        }
        /// <summary>
        /// 委托修改
        /// </summary>
        public bool EditTrust
        {
            set { _edittrust = value; }
            get { return _edittrust; }
        }
        /// <summary>
        /// 取消封盘
        /// </summary>
        public bool CancelLockHouse
        {
            set { _cancellockhouse = value; }
            get { return _cancellockhouse; }
        }
        /// <summary>
        /// 可查公客
        /// </summary>
        //public bool ViewPubCustomer
        //{
        //    set { _viewpubcustomer = value; }
        //    get { return _viewpubcustomer; }
        //}
        /// <summary>
        /// 可查私客
        /// </summary>
        public bool ViewPrivCustomer
        {
            set { _viewprivcustomer = value; }
            get { return _viewprivcustomer; }
        }
        /// <summary>
        /// 公需修改
        /// </summary>
        public bool EditPubDemand
        {
            set { _editpubdemand = value; }
            get { return _editpubdemand; }
        }
        /// <summary>
        /// 私需修改
        /// </summary>
        public bool EditPrivDemand
        {
            set { _editprivdemand = value; }
            get { return _editprivdemand; }
        }
        /// <summary>
        /// 可查电话日志
        /// </summary>
        public bool ViewTelLog
        {
            set { _viewtellog = value; }
            get { return _viewtellog; }
        }
        /// <summary>
        /// 可查营业动态
        /// </summary>
        public bool ViewBusiness
        {
            set { _viewbusiness = value; }
            get { return _viewbusiness; }
        }
        /// <summary>
        /// 可查人事信息
        /// </summary>
        public bool ViewHrInfo
        {
            set { _viewhrinfo = value; }
            get { return _viewhrinfo; }
        }
        /// <summary>
        /// 可查人事变动
        /// </summary>
        public bool ViewHrChange
        {
            set { _viewhrchange = value; }
            get { return _viewhrchange; }
        }
        /// <summary>
        /// 考勤查询
        /// </summary>
        public bool ViewAttendance
        {
            set { _viewattendance = value; }
            get { return _viewattendance; }
        }
        /// <summary>
        /// 休假查询
        /// </summary>
        public bool ViewVacation
        {
            set { _viewvacation = value; }
            get { return _viewvacation; }
        }
        /// <summary>
        /// 年假查询
        /// </summary>
        public bool ViewAnnualLeave
        {
            set { _viewannualleave = value; }
            get { return _viewannualleave; }
        }
        /// <summary>
        /// 可查用户操作日志
        /// </summary>
        public bool ViewUserLog
        {
            set { _viewuserlog = value; }
            get { return _viewuserlog; }
        }
        /// <summary>
        /// 房源删除
        /// </summary>
        public bool DelHouse
        {
            set { _delhouse = value; }
            get { return _delhouse; }
        }
        /// <summary>
        /// 修改公客信息
        /// </summary>
        public bool EditPubCustomer
        {
            set { _editpubcustomer = value; }
            get { return _editpubcustomer; }
        }
        /// <summary>
        /// 修改私客信息
        /// </summary>
        public bool EditPrivCustomer
        {
            set { _editprivcustomer = value; }
            get { return _editprivcustomer; }
        }
        /// <summary>
        /// 库存检查
        /// </summary>
        public bool ViewStock
        {
            set { _viewstock = value; }
            get { return _viewstock; }
        }
        /// <summary>
        /// 是否控制
        /// </summary>
        public bool IsControl
        {
            set { _iscontrol = value; }
            get { return _iscontrol; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Addtime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 转移公开客源
        /// </summary>
        public bool ShiftPubCustomer
        {
            set { _shiftpubcustomer = value; }
            get { return _shiftpubcustomer; }
        }
        /// <summary>
        /// 客源公开级别设定
        /// </summary>
        public bool SetPubLevel
        {
            set { _setpublevel = value; }
            get { return _setpublevel; }
        }
        /// <summary>
        /// 查看跨部门共享客需
        /// </summary>
        public bool ViewCrossPubShareDemand
        {
            set { _viewcrosspubsharedemand = value; }
            get { return _viewcrosspubsharedemand; }
        }
        /// <summary>
        /// 查看部门共享客需
        /// </summary>
        public bool ViewPubShareDemand
        {
            set { _viewpubsharedemand = value; }
            get { return _viewpubsharedemand; }
        }
        /// <summary>
        /// 查看跨部门共享客户
        /// </summary>
        public bool ViewCrossPubShareCustomer
        {
            set { _viewcrosspubsharecustomer = value; }
            get { return _viewcrosspubsharecustomer; }
        }
        /// <summary>
        /// 查看部门共享客户
        /// </summary>
        public bool ViewPubShareCustomer
        {
            set { _viewpubsharecustomer = value; }
            get { return _viewpubsharecustomer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool viewtrace
        {
            set { _viewtrace = value; }
            get { return _viewtrace; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool CanUploadPicture
        {
            set { _canuploadpicture = value; }
            get { return _canuploadpicture; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool CanDeletePicture
        {
            set { _candeletepicture = value; }
            get { return _candeletepicture; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool CanPublishHouse
        {
            set { _canpublishhouse = value; }
            get { return _canpublishhouse; }
        }
        #endregion Model

    }
}

